﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using TLL.Log;
using TLL.Finance.Currencys;
using TLL.Finance;

namespace TLL.Config
{
    public class Configuration
    {
        private List<Currency> currencys = new List<Currency>();
        private int count;
        private CurrencyType currencytype = default(CurrencyType);
        private DateTime date;
        private DateTime outdate;
        private LogTime worktime = LogTime.Empty;

        public List<Currency> Currencys { get { return this.currencys; } }
        public int Count { get { return this.count; } }
        public CurrencyType CurrencyType { get { return this.currencytype; } }
        public DateTime Date { get { return this.date; } }
        public DateTime OUTDate { get { return this.outdate; } }
        public LogTime WorkTime { get { return this.worktime; } }

        public Configuration(List<Currency> currencys, int count, CurrencyType currency, DateTime date, DateTime outdate, LogTime worktime)
        {
            this.currencys = currencys;
            this.count = count;
            this.currencytype = currency;
            this.date = date;
            this.outdate = outdate;
            this.worktime = worktime;
        }
    }
}
